package cc.vv.btpartyjob.partymanager.server

import cc.vv.btpartyjob.partymanager.moudel.bean.ProjectQueryBean
import cc.vv.btpartyjob.partymanager.moudel.bean.StatisticsBean

/**
 * 假数据Server
 * Created by Chen.qi on 2018/10/24.
 */
object DataServer {


    fun getStreetData(): ArrayList<String> {
        val optionList = ArrayList<String>()
        optionList.add("南市街道")
        optionList.add("宝塔山街道")
        optionList.add("凤凰山街道")
        optionList.add("桥沟街道")
        return optionList
    }


    fun getCommunityAddressData(): ArrayList<String> {
        val optionList = ArrayList<String>()
        optionList.add("杜甫川社区")
        optionList.add("马家湾社区")
        optionList.add("七里铺社区")
        optionList.add("市场沟社区")
        optionList.add("宝元社区")
        return optionList
    }

    fun getStatisticsUnitData(): ArrayList<StatisticsBean> {
        val optionList = ArrayList<StatisticsBean>()

        val obj1 = StatisticsBean("马家湾社区", 78, "78")
        val obj2 = StatisticsBean("南桥社区", 12, "12")
        val obj3 = StatisticsBean("七里铺社区", 30, "30")
        val obj4 = StatisticsBean("北门口社区", 0, "0")
        val obj5 = StatisticsBean("南关社区", 15, "15")
        val obj6 = StatisticsBean("电子城社区", 100, "100")
        val obj7 = StatisticsBean("青松路", 36, "36")
        val obj8 = StatisticsBean("马家湾社区", 50, "50")

        optionList.add(obj1)
        optionList.add(obj2)
        optionList.add(obj3)
        optionList.add(obj4)
        optionList.add(obj5)
        optionList.add(obj6)
        optionList.add(obj7)
        optionList.add(obj8)

        return optionList
    }


    fun getStatisticsPartyData(): ArrayList<StatisticsBean> {
        val optionList = ArrayList<StatisticsBean>()

        val obj1 = StatisticsBean("马家湾社区", 12, "12")
        val obj2 = StatisticsBean("南桥社区", 90, "90")
        val obj3 = StatisticsBean("七里铺社区", 30, "30")
        val obj4 = StatisticsBean("北门口社区", 0, "0")
        val obj5 = StatisticsBean("南关社区", 15, "15")
        val obj6 = StatisticsBean("电子城社区", 100, "100")
        val obj7 = StatisticsBean("青松路", 36, "36")
        val obj8 = StatisticsBean("马家湾社区", 50, "50")

        optionList.add(obj1)
        optionList.add(obj2)
        optionList.add(obj3)
        optionList.add(obj4)
        optionList.add(obj5)
        optionList.add(obj6)
        optionList.add(obj7)
        optionList.add(obj8)

        return optionList
    }

    fun getProjectData(): ArrayList<ProjectQueryBean> {
        val optionList = ArrayList<ProjectQueryBean>()
        val obj1 = ProjectQueryBean("宝塔区城市公用信息改造", "李1", "2018-10-22", "2018-11-20", 0)
        val obj2 = ProjectQueryBean("宝塔区城市公用信息改造", "李2", "2018-10-22", "2018-11-20", 1)
        val obj3 = ProjectQueryBean("宝塔区城市公用信息改造", "李3", "2018-10-22", "2018-11-20", 2)
        val obj4 = ProjectQueryBean("宝塔区城市公用信息改造", "李4", "2018-10-22", "2018-11-20", 3)
        val obj5 = ProjectQueryBean("宝塔区城市公用信息改造", "李5", "2018-10-22", "2018-11-20", 4)
        val obj6 = ProjectQueryBean("宝塔区城市公用信息改造", "李1", "2018-10-22", "2018-11-20", 3)
        val obj8 = ProjectQueryBean("宝塔区城市公用信息改造", "李2", "2018-10-22", "2018-11-20", 2)
        val obj7 = ProjectQueryBean("宝塔区城市公用信息改造", "李3", "2018-10-22", "2018-11-20", 2)
        val obj9 = ProjectQueryBean("宝塔区城市公用信息改造", "李4", "2018-10-22", "2018-11-20", 1)
        val obj10 = ProjectQueryBean("宝塔区城市公用信息改造", "李5", "2018-10-22", "2018-11-20", 4)
        val obj11 = ProjectQueryBean("宝塔区城市公用信息改造", "李5", "2018-10-22", "2018-11-20", 0)
        optionList.add(obj1)
        optionList.add(obj2)
        optionList.add(obj3)
        optionList.add(obj4)
        optionList.add(obj5)
        optionList.add(obj6)
        optionList.add(obj7)
        optionList.add(obj8)
        optionList.add(obj9)
        optionList.add(obj10)
        optionList.add(obj11)
        return optionList
    }

}